import numpy as np
import pandas as pd
import os
import sys
import pickle
from joblib import dump, load
import yaml
import pdb
from pprint import pprint
from statistics import mean
import random
random.seed(50)
import math
import argparse

sys.path.insert(1,'/REDACTED/fairness/code/rf/scripts/rf')
import tune_utils as tu
from gpd_test import *

###############################################
#### Hyperparameter Tuning
###############################################


sys.path.insert(1,'/REDACTED/fairness/code/rf/scripts/rf')
import tune_utils as tu

tu.tune_model(train_fold=4, 
                 eitc=True,
                 dep_database=True,
                 datapath='/REDACTED/fairness/code/rf/data/',
                 model_type= 'reg',
                 threshold=None,
		 rs=50,
                 ts=0.25, ## test size
                 cvs=5,
                 njs=10)